package com.mypack.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mypack.crm.dto.contact.ContactDTO;
import com.mypack.crm.dto.contact.ContactSearchDTO;
import com.mypack.crm.entity.CrmContact;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ContactMapper extends BaseMapper<CrmContact>{

    List<ContactDTO> listContact(ContactSearchDTO searchDTO);

}
